<script>
import { useOutsideAppStore } from '@/store/app';
  export default {
    onLaunch: function () {
    },
    onShow: function () {
      const appStore = useOutsideAppStore();
      const systemInfo = uni.getSystemInfoSync();
      appStore.navHeight = systemInfo.statusBarHeight + 44; // 44 是导航栏的固定高度
      console.log('appStore.navHeight', appStore.navHeight);
      
    },
    onHide: function () {

    }
  }
</script>

<style lang="scss">
  @import '@/static/style/reset.scss';
  /*每个页面公共css */
  @import 'nutui-uniapp/styles/index.scss';
</style>
